var vm = new Vue({
  el: "#home_vue",
  data: {
    currentPage: 1,
    isFactsActive: 1,
    loadData: [
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
      {
        bg: "images/topic/list-1-1.jpg",
        content: "科技影视节目展映",
      },
    ],
    total: 100,
  },
  mounted: function () {},
  methods: {
    handleFactsChange(num) {
      this.isFactsActive = num;
    },
    onPageChange(page) {
      console.log("page: ", page);
    },
  },
});
var mySwiper = new Swiper("#swiper-main-container", {
  // autoplay: 3000, //可选选项，自动滑动
  loop: true,
  nextButton: ".swiper-button-next",
  prevButton: ".swiper-button-prev",
  pagination: ".swiper-pagination",
  paginationType: "fraction",
});
